home *** CD-ROM | disk | FTP | other *** search
/ Languguage OS 2 / Languguage OS II Version 10-94 (Knowledge Media)(1994).ISO / language / embedded / mcu / b6_boot.arc / RAM.SRC < prev    next >
Text File  |  1980-01-01  |  640b  |  19 lines

  1. * a program to demonstrate the serial load and execute
  2. * feature of the B6 serial loader.
  3. * for further comments see the MC68HC805B6 data sheet.
  4. *
  5. * this programmed assembled as XRAM.S19 on the demo
  6. * diskette, will execute automaticaly (incrementing
  7. * PORTA) when loaded serially.
  8. *
  9.   org $7d
  10. *
  11. enter lda #$ff         set DDRA as outputs
  12.       sta 4
  13. loop  inc 0            increment PORTA
  14.       brn *            pad
  15.       bra loop
  16.       org $fff0
  17.       fcb $aa          send a "negative address"
  18.       end
  19.